package com.log6z.dashborad.mapper;

import com.log6z.dashborad.domain.LineQueue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * @author lu-profiess
 * @description 针对表【line_queue(线路排队)】的数据库操作Mapper
 * @createDate 2024-03-28 11:15:46
 * @Entity com.log6z.dashborad.domain.LineQueue
 */


@Mapper
public interface LineQueueMapper extends BaseMapper<LineQueue> {

    /**
     * 查询当日每个线路的登记数
     *
     * @return
     */
    List<LineQueue> dayLineCount();

    /**
     * 查询近7日每日的登记数
     *
     * @return
     */
    List<HashMap<String, Integer>> weekCount();
}




